//查询领用单列表

export interface OrderReqTable {
     code: string;
     msg: string;
     timestamp: number;
     data: OrderReqTableData;
     ok: boolean;
};
export interface OrderReqTableData {
     totalCount: number;
     list: Array<OrderReqTableDataItem>;
};
export interface OrderReqTableDataItem {
     orderId: number;
     orderNo: string;
     orderStatus: string;
     storageId: number;
     storageName: string;
     reqUserId: number;
     reqUserName: string;
     reqDeptId: number;
     reqDeptName: string;
     remark: string;
     inUserId: number;
     inUserName: string;
     inTime: Date;
     drugKindCount: number;
     totalQty: number;
};

//添加领用单

export interface AddReq {
     detailList: Array<DetailList>;
     storageId: number;
     reqUserId: number;
     remark: string;
};

export interface DetailList {
     drugId: number;
     orderQty: number;
};

///领用单详情

export interface OrderReqDetail {
     code: string;
     msg: string;
     timestamp: number;
     data: OrderReqDetailData;
     ok: boolean;
};

export interface OrderReqDetailData {
     orderId: number;
     orderNo: string;
     orderStatus: string;
     storageId: number;
     storageName: string;
     reqUserId: number;
     reqUserName: string;
     reqDeptId: number;
     reqDeptName: string;
     remark: string;
     inUserId: number;
     inUserName: string;
     inTime: Date;
     detailList: Array<DetailList>;
};

export interface DetailList {
     detailId: number;
     orderId: number;
     drugId: number;
     drugName: string;
     drugCategory: string;
     drugDosage: number;
     guige: string;
     drugDosageUnit: string;
     drugDosageUnitText: string;
     minPackQty: number;
     minPackUnit: string;
     minPackUnitText: string;
     packUnit: string;
     packUnitText: string;
     orderQty: number;
     mfrId: number;
     mfrName: string;
};

